package com.msjt.entity;

import com.msjt.base.BasePO;

/**
 * News entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class News extends BasePO {

	// Fields

	private Integer newsId;
	private String newsTitle;
	private String newContent;
	private String newsDate;
	private Integer newsClick;
	private String newsType;

	// Constructors

	/** default constructor */
	public News() {
	}
	//
	public News(Integer newsId,String newsTitle) {
		this.newsId = newsId;
		this.newsTitle = newsTitle;
	}
	/** full constructor */
	public News(String newsTitle, String newContent, String newsDate,
			Integer newsClick, String newsType) {
		this.newsTitle = newsTitle;
		this.newContent = newContent;
		this.newsDate = newsDate;
		this.newsClick = newsClick;
		this.newsType = newsType;
	}
	public News(String newsTitle, String newContent, String newsDate,
			Integer newsClick) {
		this.newsTitle = newsTitle;
		this.newContent = newContent;
		this.newsDate = newsDate;
		this.newsClick = newsClick;
	}
	
	//ID TITLE DATE
	public News(Integer newsId,String newsTitle,String newContent,String newsDate){
		this.newsId=newsId;
		this.newsTitle=newsTitle;
		this.newsDate=newsDate;
		this.newContent=newContent;
	}
	// Property accessors

	public Integer getNewsId() {
		return this.newsId;
	}

	public void setNewsId(Integer newsId) {
		this.newsId = newsId;
	}

	public String getNewsTitle() {
		return this.newsTitle;
	}

	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}

	public String getNewContent() {
		return this.newContent;
	}

	public void setNewContent(String newContent) {
		this.newContent = newContent;
	}

	public String getNewsDate() {
		return this.newsDate;
	}

	public void setNewsDate(String newsDate) {
		this.newsDate = newsDate;
	}

	public Integer getNewsClick() {
		return this.newsClick;
	}

	public void setNewsClick(Integer newsClick) {
		this.newsClick = newsClick;
	}

	public String getNewsType() {
		return this.newsType;
	}

	public void setNewsType(String newsType) {
		this.newsType = newsType;
	}

}